import { USER_UPDATE_NAME, USER_UPDATE_AGE } from '../constants'
export const updateName = (payload) => ({
  type: USER_UPDATE_NAME,
  payload,
})

export const updateAge = (payload) => ({
  type: USER_UPDATE_AGE,
  payload,
})
